{extend name="public/base"}

{block name="title"}就行天下-实名认证{/block}

{block name="style"}
<link rel="stylesheet" href="__STATIC__/home/css/set.css" />
{/block}


{block name="main"}
<div class="pageControl">
    <div class="main-top"></div>
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">实名认证</h1>
        <a href="" class="msui_navTop-right msui_navTop-cnav"><i class="micon-cnav"></i></a>
    </div>
    <div class="pl">
        <img src="__STATIC__/home/images/bg3.png" alt="">
        <div class="autonym">
            <!--用户头像-->
            <img class="userImg" src="{$data.headimgurl|default=''}" alt="">
            <p class="fs08 text-center autonym-name">{$data.proposer|default=''}</p>
            <p class="text-center "><span class="autonym-state">{$data.status_text|default=''}</span></p>
            <p class="text-center autonym-card"></p>
            <div class="autonym-img">
                <img src="__STATIC__/home/images/rz{$data.status}.png" alt="">
            </div>
        </div>
    </div>
    <!--未认证时显示按钮，等待认证隐藏按钮-->
    {eq name="data.status" value="0"}
    <a href="{:url('application')}" class="certification">
        <img src="__STATIC__/home/images/smrz.png" alt="">
    </a>
    {/eq}
    {eq name="data.status" value="2"}
        <div class="weui-cell noBorder mtop10">
            <div class="weui-label">
                <span>姓名</span>
            </div>
            <div class="weui-cell__bd">
                <span class="cl-9999">{$data.proposer|default=''}</span>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-label">
                <span>身份证号</span>
            </div>
            <div class="weui-cell__bd">
                <span class="cl-9999">**************{$data.card_no|substr="-4"}</span>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-label">
                <span>证件照片</span>
            </div>
            <div class="weui-cell__bd">
                <span class="cl-9999">已完善</span>
            </div>
        </div>
    {/eq}
</div>
<!--信息处理中-->
<div id="autonym-no" class="weui-popup__container">
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
        <div class="modal-content">
            <div class="pl">
                <div class="informationHandling-main">
                    <div class="fs065 title">
                        <div class="inform-img">
                            <p>
                                <img src="__STATIC__/home/images/clz.png" alt="">
                            </p>

                        </div>
                        <p class="fs075 cl-c40 text-center">处理中</p>
                        <div class="inform-title">
                            <p class="text-center fs06">信息正在审核中,有任何疑问</p>
                            <p class="text-center fs06">请咨询就行客服, <a class="cl-00b" href="{:url('application')}">修改资料</a> </p>
                        </div>

                    </div>
                    <div class="model-btn-two">
                        <a href="javascript:;" class="close-popup">取消</a>
                        <a href="javascript:;" class="cl-c40">联系客服</a>
                    </div>
                </div>
                <div class="shadow">
                    <img src="__STATIC__/home/images/Shadow.png" alt="">
                </div>
            </div>
        </div>
    </div>
</div>
{/block}

{block name="javascript"}
<script>
    var _status = '{$data.status}';
    $(function () {
        if (_status == 1) {
            $("#autonym-no").popup();
        }
    });
</script>
{/block}